import request from '@/utils/request'

// 上传房东头像
export function uploadAvatar(data) {
  return request({
    url: '/landlord/uploadLandlord', // 确保这个URL与后端定义的URL一致
    method: 'post',
    data: data,
  });
}

